Skip to content

Conversation

@turbobastii
Copy link

Since I am already fixing the other repos with this issue, I thought I might do it here aswell.

TLDR: meson will change the default behaviour of run_command and displays that as a warning when building.
See: mesonbuild/meson#9300

image

project('appstream-data-pantheon')

run_script = run_command('bash', meson.project_name() + '.sh')
run_script = run_command('bash', meson.project_name() + '.sh', check: false)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script doesn't even exist, so it always fails. What's it supposed to do? What's the result of running Meson?

The script was removed in commit b616c8c for the record. Setting this to check: true would reveal that failure. ;)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, that's what I get by somewhat blindly scanning the repos for the run_command issue without fully understanding the repo first. 😅️
Looking at the commit you mentioned, it seems to me, as if the entire meson part is not needed anymore. Do you think it would be good to just remove the meson.build file?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably?

Either that or reimplement it from scratch to install the relevant contents of pantheon-data/main/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants